<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="file:///android_asset/msg/css/aui.css">
    <title>信息详情</title>
    <script src="file:///android_asset/msg/js/jquery-3.3.1.min.js"></script>
    <script src="file:///android_asset/msg/js/global.js?t=1"></script>
    <style>

    </style>
</head>
<body>
<header>
    <a class="f1 head-back"></a>
    <div class="f8">信息详情</div>
    <div class="f1"></div>
</header>
<section>
    <p id="title" class=" pad-1 ellipsis center f18 border-b-gray"></p>
    <!--<p class="border-b-gray line-height-2 right color-gray f12 pad-l-r-1">
        阅读记录：<span></span>
        <span class="color-red"></span>
    </p>-->
    <div id="cont" class="pad-5-1 line-height-2 color-gray"></div>
</section>


</body>
<script>
    <!--$(".head-back").on("click",function () {-->
        <!--android.doJsRequest();-->
    <!--});-->
    window.onload=function () {
        var info_id=getQueryString("info_id");
        console.log(info_id);
        function auto(){
            var data={};
            data.messageid=info_id;
            new AjaxRequest({
                type: "POST",
                param: data,
                url: hostUrl+"app/message/readmessage",
                dataType: "json",
                isShowLoader: true,
                callBack: function(res){
                    if(res.status==1){
                        console.log(res);
                        $("#title").text(res.data[0].title);
                        $("#cont").text(res.data[0].content);

                    }else{
                        isShowLoader=false;
                        return;
                    }

                },
                error:function (err) {
                    console.log(err);
                }
            });
        }
        auto();
    }

</script>
</html>